package com.csi.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;

@Data
/**
 * 酒店表
 */
@Schema(description = "酒店信息模型")
public class Hotel {

    @Schema(description = "酒店的唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private long id; // 酒店id

    @Schema(description = "酒店名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "五星级酒店")
    private String hotelName; // 酒店名称

    @Schema(description = "酒店地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "北京市朝阳区某街道123号")
    private String hotelAddress; // 酒店住址

    @Schema(description = "酒店联系人", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    private String hotelContext; // 酒店联系人

    @Schema(description = "酒店联系电话", requiredMode = Schema.RequiredMode.REQUIRED, example = "010-12345678")
    private String hotelPhone; // 酒店联系电话

    @Schema(description = "酒店评分（满分5分）", requiredMode = Schema.RequiredMode.REQUIRED, example = "4.5", type = "number", format = "float")
    private BigDecimal hotelScore; // 酒店评分

    @Schema(description = "酒店介绍", example = "提供顶级服务和设施，位于市中心...")
    private String hotelDesc; // 酒店介绍

    @Schema(description = "酒店图片地址", example = "https://example.com/images/hotel1.jpg")
    private String hotelImg; // 酒店图片地址

    @Schema(description = "销售ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private long userId; // 销售id

    @Schema(description = "酒店位置信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private HotelLocation hotelLocation; // 酒店位置信息

    @Schema(description = "酒店最便宜房型价格", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal price; // 房间价格

}
